home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Interesting Stuff •
/
Macnifier
/
Macnifier.rsrc
/
CODE_5.txt
< prev
next >
Wrap
Text File
|
1992-02-12
|
88KB
|
1,554 lines
# near model CODE resource
# jump table entries: 80-81 (2 of them)
00000000 7000 moveq.l D0, 0x00
label00000002:
00000002 2F09 move.l -[A7], A1
label00000004:
00000004 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000008 4E75 rts
0000000A 7000 moveq.l D0, 0x00
0000000C 60F6 bra -0x8 /* 00000004 */
fn0000000E:
0000000E 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000012 6A2A bpl +0x2C /* 0000003E */
00000014 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
00000018 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
0000001C 2008 move.l D0, A0
0000001E 9091 sub.l D0, [A1]
00000020 740C moveq.l D2, 0x0C
00000022 B082 cmp.l D0, D2
00000024 6516 bcs +0x18 /* 0000003C */
00000026 2251 movea.l A1, [A1]
00000028 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
0000002C 2280 move.l [A1], D0
0000002E 4211 clr.b [A1]
00000030 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
00000034 2288 move.l [A1], A0
00000036 2082 move.l [A0], D2
00000038 D1A9 000C add.l [A1 + 0xC], D0
label0000003C:
0000003C 4E75 rts
label0000003E:
0000003E A063 syscall MaxApplZone
00000040 4E75 rts
fn00000042:
00000042 225F movea.l A1, [A7]+
00000044 205F movea.l A0, [A7]+
00000046 A049 syscall HPurge
00000048 4EFA FFB8 jmp [PC - 0x48 /* 00000002 */]
fn0000004C:
0000004C 225F movea.l A1, [A7]+
0000004E 205F movea.l A0, [A7]+
00000050 A04A syscall HNoPurge
00000052 4EFA FFAE jmp [PC - 0x52 /* 00000002 */]
fn00000056:
00000056 225F movea.l A1, [A7]+
00000058 121F move.b D1, [A7]+
0000005A 301F move.w D0, [A7]+
0000005C 2F09 move.l -[A7], A1
0000005E 4A01 tst.b D1
00000060 6704 beq +0x6 /* 00000066 */
00000062 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000064 6002 bra +0x4 /* 00000068 */
label00000066:
00000066 A346 syscall GetOSTrapAddress, flags=3
label00000068:
00000068 2F48 0004 move.l [A7 + 0x4], A0
0000006C 4E75 rts
fn0000006E:
0000006E 42A7 clr.l -[A7]
00000070 594F subq.w A7, 4
00000072 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00000076 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
0000007C 486F 000C pea.l [A7 + 0xC]
00000080 A9FD syscall GetScrap
00000082 201F move.l D0, [A7]+
00000084 584F addq.w A7, 4
00000086 6A0A bpl +0xC /* 00000092 */
00000088 3F40 0004 move.w [A7 + 0x4], D0
0000008C 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
00000090 6008 bra +0xA /* 0000009A */
label00000092:
00000092 426F 0004 clr.w [A7 + 0x4]
00000096 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
label0000009A:
0000009A 4E75 rts
fn0000009C:
0000009C 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
000000A0 A029 syscall HLock
000000A2 594F subq.w A7, 4
000000A4 7000 moveq.l D0, 0x00
000000A6 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
000000AA 2F00 move.l -[A7], D0
000000AC 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
000000B2 2F10 move.l -[A7], [A0]
000000B4 A9FE syscall PutScrap
000000B6 544F addq.w A7, 2
000000B8 3F5F 0004 move.w [A7 + 0x4], [A7]+
000000BC 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
000000C0 A02A syscall HUnlock
000000C2 4E75 rts
export_10:
000000C4 4E56 FFFC link A6, -0x0004
000000C8 2F0A move.l -[A7], A2
000000CA 486D FD82 pea.l [A5 - 0x27E]
000000CE A86E syscall InitGraf
000000D0 A8FE syscall InitFonts
000000D2 A912 syscall InitWindows
000000D4 A930 syscall InitMenus
000000D6 A9CC syscall TEInit
000000D8 42A7 clr.l -[A7]
000000DA A97B syscall InitDialogs
000000DC A850 syscall InitCursor
000000DE 42A7 clr.l -[A7]
000000E0 3F3C 0004 move.w -[A7], 0x4
000000E4 A9B9 syscall GetCursor
000000E6 205F movea.l A0, [A7]+
000000E8 2B48 FD88 move.l [A5 - 0x278], A0
000000EC 4267 clr.w -[A7]
000000EE 486D FE3E pea.l [A5 - 0x1C2]
000000F2 A997 syscall OpenResFile
000000F4 301F move.w D0, [A7]+
000000F6 4EBA FF16 jsr [PC - 0xEA /* 0000000E */]
000000FA 42A7 clr.l -[A7]
000000FC 3F3C 0060 move.w -[A7], 0x60 /* '`' */
00000100 1F3C 0001 move.b -[A7], 0x1
00000104 4EBA FF50 jsr [PC - 0xB0 /* 00000056 */]
00000108 201F move.l D0, [A7]+
0000010A 42A7 clr.l -[A7]
0000010C 3F3C 009F move.w -[A7], 0x9F
00000110 1F3C 0001 move.b -[A7], 0x1
00000114 2D40 FFFC move.l [A6 - 0x4], D0
00000118 4EBA FF3C jsr [PC - 0xC4 /* 00000056 */]
0000011C 201F move.l D0, [A7]+
0000011E B0AE FFFC cmp.l D0, [A6 - 0x4]
00000122 56C0 sne D0
00000124 4400 neg.b D0
00000126 4880 ext.w D0
00000128 1B40 FD86 move.b [A5 - 0x27A], D0
0000012C 42A7 clr.l -[A7]
0000012E 4879 444C 4F47 push.l 0x444C4F47 /* 'DLOG' */
00000134 3F3C 00C9 move.w -[A7], 0xC9
00000138 A9A0 syscall GetResource
0000013A 205F movea.l A0, [A7]+
0000013C 2B48 FDD0 move.l [A5 - 0x230], A0
00000140 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00000144 4EBA FF06 jsr [PC - 0xFA /* 0000004C */]
00000148 42A7 clr.l -[A7]
0000014A 3F3C 00C8 move.w -[A7], 0xC8
0000014E 486D FE50 pea.l [A5 - 0x1B0]
00000152 A931 syscall NewMenu
00000154 205F movea.l A0, [A7]+
00000156 2B48 FE02 move.l [A5 - 0x1FE], A0
0000015A 2F2D FE02 move.l -[A7], [A5 - 0x1FE]
0000015E 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
00000164 A94D syscall AppendResMenu/AddResMenu
00000166 2F2D FE02 move.l -[A7], [A5 - 0x1FE]
0000016A 4267 clr.w -[A7]
0000016C A935 syscall InsertMenu
0000016E 42A7 clr.l -[A7]
00000170 3F3C 00C9 move.w -[A7], 0xC9
00000174 486D FE52 pea.l [A5 - 0x1AE]
00000178 A931 syscall NewMenu
0000017A 205F movea.l A0, [A7]+
0000017C 2B48 FE06 move.l [A5 - 0x1FA], A0
00000180 2F2D FE06 move.l -[A7], [A5 - 0x1FA]
00000184 486D FE58 pea.l [A5 - 0x1A8]
00000188 A933 syscall AppendMenu
0000018A 2F2D FE06 move.l -[A7], [A5 - 0x1FA]
0000018E 4267 clr.w -[A7]
00000190 A935 syscall InsertMenu
00000192 A937 syscall DrawMenuBar
00000194 42A7 clr.l -[A7]
00000196 3F3C 00C9 move.w -[A7], 0xC9
0000019A 42A7 clr.l -[A7]
0000019C 4878 FFFF push.l 0xFFFF
000001A0 A97C syscall GetNewDialog
000001A2 205F movea.l A0, [A7]+
000001A4 2B48 FE32 move.l [A5 - 0x1CE], A0
000001A8 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
000001AC A873 syscall SetPort
000001AE 3F3C 0008 move.w -[A7], 0x8
000001B2 A89C syscall PenMode
000001B4 703C moveq.l D0, 0x3C
000001B6 2B40 FDFE move.l [A5 - 0x202], D0
000001BA 426D FE2C clr.w [A5 - 0x1D4]
000001BE 7001 moveq.l D0, 0x01
000001C0 1B40 FE2E move.b [A5 - 0x1D2], D0
000001C4 486D FE22 pea.l [A5 - 0x1DE]
000001C8 4267 clr.w -[A7]
000001CA 4267 clr.w -[A7]
000001CC 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
000001D0 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
000001D4 A8A7 syscall SetRect
000001D6 486D FE0A pea.l [A5 - 0x1F6]
000001DA A972 syscall GetMouse
000001DC 486D FE0A pea.l [A5 - 0x1F6]
000001E0 A870 syscall LocalToGlobal
000001E2 4878 0002 push.l 0x2
000001E6 2F2D FDFE move.l -[A7], [A5 - 0x202]
000001EA 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000001EE 306D FE0A movea.w A0, [A5 - 0x1F6]
000001F2 B1C0 cmpa.l A0, D0
000001F4 6C12 bge +0x14 /* 00000208 */
000001F6 4878 0002 push.l 0x2
000001FA 2F2D FDFE move.l -[A7], [A5 - 0x202]
000001FE 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000202 5480 addq.l D0, 2
00000204 3B40 FE0A move.w [A5 - 0x1F6], D0
label00000208:
00000208 4878 0002 push.l 0x2
0000020C 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000210 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000214 306D FE0C movea.w A0, [A5 - 0x1F4]
00000218 91C0 sub.l A0, D0
0000021A B0FC 0000 cmpa.w A0, 0x0
0000021E 6C12 bge +0x14 /* 00000232 */
00000220 4878 0002 push.l 0x2
00000224 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000228 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000022C 5480 addq.l D0, 2
0000022E 3B40 FE0C move.w [A5 - 0x1F4], D0
label00000232:
00000232 4878 0002 push.l 0x2
00000236 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000023A 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000023E 306D FE0C movea.w A0, [A5 - 0x1F4]
00000242 91C0 sub.l A0, D0
00000244 4878 0002 push.l 0x2
00000248 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000024C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000250 326D FE0A movea.w A1, [A5 - 0x1F6]
00000254 93C0 sub.l A1, D0
00000256 4878 0002 push.l 0x2
0000025A 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000025E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000262 346D FE0C movea.w A2, [A5 - 0x1F4]
00000266 D08A add.l D0, A2
00000268 4878 0002 push.l 0x2
0000026C 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000270 2D40 FFFC move.l [A6 - 0x4], D0
00000274 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000278 346D FE0A movea.w A2, [A5 - 0x1F6]
0000027C D08A add.l D0, A2
0000027E 486D FE1A pea.l [A5 - 0x1E6]
00000282 2208 move.l D1, A0
00000284 3F01 move.w -[A7], D1
00000286 2209 move.l D1, A1
00000288 3F01 move.w -[A7], D1
0000028A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000028E 3F00 move.w -[A7], D0
00000290 A8A7 syscall SetRect
00000292 486D FE5E pea.l [A5 - 0x1A2]
00000296 3F3C 0003 move.w -[A7], 0x3
0000029A 4EBA 040C jsr [PC + 0x40C /* 000006A8 */]
0000029E 5C8F addq.l A7, 6
label000002A0:
000002A0 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
000002A4 A873 syscall SetPort
label000002A6:
000002A6 486D FE0E pea.l [A5 - 0x1F2]
000002AA A972 syscall GetMouse
000002AC 486D FE0E pea.l [A5 - 0x1F2]
000002B0 A870 syscall LocalToGlobal
000002B2 4878 0002 push.l 0x2
000002B6 2F2D FDFE move.l -[A7], [A5 - 0x202]
000002BA 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000002BE 306D FE0E movea.w A0, [A5 - 0x1F2]
000002C2 B1C0 cmpa.l A0, D0
000002C4 6C12 bge +0x14 /* 000002D8 */
000002C6 4878 0002 push.l 0x2
000002CA 2F2D FDFE move.l -[A7], [A5 - 0x202]
000002CE 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000002D2 5480 addq.l D0, 2
000002D4 3B40 FE0E move.w [A5 - 0x1F2], D0
label000002D8:
000002D8 4878 0002 push.l 0x2
000002DC 2F2D FDFE move.l -[A7], [A5 - 0x202]
000002E0 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000002E4 306D FE10 movea.w A0, [A5 - 0x1F0]
000002E8 91C0 sub.l A0, D0
000002EA B0FC 0000 cmpa.w A0, 0x0
000002EE 6C12 bge +0x14 /* 00000302 */
000002F0 4878 0002 push.l 0x2
000002F4 2F2D FDFE move.l -[A7], [A5 - 0x202]
000002F8 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000002FC 5480 addq.l D0, 2
000002FE 3B40 FE10 move.w [A5 - 0x1F0], D0
label00000302:
00000302 302D FE0A move.w D0, [A5 - 0x1F6]
00000306 B06D FE0E cmp.w D0, [A5 - 0x1F2]
0000030A 6610 bne +0x12 /* 0000031C */
0000030C 302D FE0C move.w D0, [A5 - 0x1F4]
00000310 B06D FE10 cmp.w D0, [A5 - 0x1F0]
00000314 6606 bne +0x8 /* 0000031C */
00000316 4A2D FE2E tst.b [A5 - 0x1D2]
0000031A 6648 bne +0x4A /* 00000364 */
label0000031C:
0000031C 7000 moveq.l D0, 0x00
0000031E 102D FE2E move.b D0, [A5 - 0x1D2]
00000322 4A40 tst.w D0
00000324 670C beq +0xE /* 00000332 */
00000326 7000 moveq.l D0, 0x00
00000328 102D FE2E move.b D0, [A5 - 0x1D2]
0000032C 0C40 0001 cmpi.w D0, 0x1
00000330 661C bne +0x1E /* 0000034E */
label00000332:
00000332 486D FD08 pea.l [A5 - 0x2F8]
00000336 206D FE32 movea.l A0, [A5 - 0x1CE]
0000033A 4868 0002 pea.l [A0 + 0x2]
0000033E 486D FE1A pea.l [A5 - 0x1E6]
00000342 486D FE22 pea.l [A5 - 0x1DE]
00000346 3F2D FE2C move.w -[A7], [A5 - 0x1D4]
0000034A 42A7 clr.l -[A7]
0000034C A8EC syscall CopyBits
label0000034E:
0000034E 486D FDEA pea.l [A5 - 0x216]
00000352 A976 syscall GetKeys
00000354 0CAD 0000 0004 FDEE cmpi.l [A5 - 0x212], 0x4
0000035C 6606 bne +0x8 /* 00000364 */
0000035E 7002 moveq.l D0, 0x02
00000360 1B40 FE2E move.b [A5 - 0x1D2], D0
label00000364:
00000364 486D FD16 pea.l [A5 - 0x2EA]
00000368 A851 syscall SetCursor
0000036A 486D FE0A pea.l [A5 - 0x1F6]
0000036E A972 syscall GetMouse
00000370 486D FE0A pea.l [A5 - 0x1F6]
00000374 A870 syscall LocalToGlobal
00000376 4878 0002 push.l 0x2
0000037A 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000037E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000382 306D FE0A movea.w A0, [A5 - 0x1F6]
00000386 B1C0 cmpa.l A0, D0
00000388 6C12 bge +0x14 /* 0000039C */
0000038A 4878 0002 push.l 0x2
0000038E 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000392 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000396 5480 addq.l D0, 2
00000398 3B40 FE0A move.w [A5 - 0x1F6], D0
label0000039C:
0000039C 4878 0002 push.l 0x2
000003A0 2F2D FDFE move.l -[A7], [A5 - 0x202]
000003A4 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003A8 306D FE0C movea.w A0, [A5 - 0x1F4]
000003AC 91C0 sub.l A0, D0
000003AE B0FC 0000 cmpa.w A0, 0x0
000003B2 6C12 bge +0x14 /* 000003C6 */
000003B4 4878 0002 push.l 0x2
000003B8 2F2D FDFE move.l -[A7], [A5 - 0x202]
000003BC 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003C0 5480 addq.l D0, 2
000003C2 3B40 FE0C move.w [A5 - 0x1F4], D0
label000003C6:
000003C6 4878 0002 push.l 0x2
000003CA 2F2D FDFE move.l -[A7], [A5 - 0x202]
000003CE 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003D2 306D FE0C movea.w A0, [A5 - 0x1F4]
000003D6 91C0 sub.l A0, D0
000003D8 4878 0002 push.l 0x2
000003DC 2F2D FDFE move.l -[A7], [A5 - 0x202]
000003E0 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003E4 326D FE0A movea.w A1, [A5 - 0x1F6]
000003E8 93C0 sub.l A1, D0
000003EA 4878 0002 push.l 0x2
000003EE 2F2D FDFE move.l -[A7], [A5 - 0x202]
000003F2 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000003F6 346D FE0C movea.w A2, [A5 - 0x1F4]
000003FA D08A add.l D0, A2
000003FC 4878 0002 push.l 0x2
00000400 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000404 2D40 FFFC move.l [A6 - 0x4], D0
00000408 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000040C 346D FE0A movea.w A2, [A5 - 0x1F6]
00000410 D08A add.l D0, A2
00000412 486D FE1A pea.l [A5 - 0x1E6]
00000416 2208 move.l D1, A0
00000418 3F01 move.w -[A7], D1
0000041A 2209 move.l D1, A1
0000041C 3F01 move.w -[A7], D1
0000041E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000422 3F00 move.w -[A7], D0
00000424 A8A7 syscall SetRect
00000426 4A2D FD86 tst.b [A5 - 0x27A]
0000042A 6714 beq +0x16 /* 00000440 */
0000042C 4267 clr.w -[A7]
0000042E 3F3C FFFF move.w -[A7], 0xFFFF
00000432 486D FDD4 pea.l [A5 - 0x22C]
00000436 42A7 clr.l -[A7]
00000438 42A7 clr.l -[A7]
0000043A A860 syscall WaitNextEvent
0000043C 101F move.b D0, [A7]+
0000043E 6010 bra +0x12 /* 00000450 */
label00000440:
00000440 A9B4 syscall SystemTask
00000442 4267 clr.w -[A7]
00000444 3F3C FFFF move.w -[A7], 0xFFFF
00000448 486D FDD4 pea.l [A5 - 0x22C]
0000044C A970 syscall GetNextEvent
0000044E 101F move.b D0, [A7]+
label00000450:
00000450 A9B4 syscall SystemTask
00000452 4267 clr.w -[A7]
00000454 486D FDD4 pea.l [A5 - 0x22C]
00000458 A97F syscall IsDialogEvent
0000045A 101F move.b D0, [A7]+
0000045C 4A00 tst.b D0
0000045E 6612 bne +0x14 /* 00000472 */
00000460 0C6D 0001 FDD4 cmpi.w [A5 - 0x22C], 0x1
00000466 6600 FE3E bne -0x1C0 /* 000002A6 */
0000046A 4EBA 0342 jsr [PC + 0x342 /* 000007AE */]
0000046E 6000 FE36 bra -0x1C8 /* 000002A6 */
label00000472:
00000472 4267 clr.w -[A7]
00000474 486D FDD4 pea.l [A5 - 0x22C]
00000478 486D FE32 pea.l [A5 - 0x1CE]
0000047C 486D FE2A pea.l [A5 - 0x1D6]
00000480 A980 syscall DialogSelect
00000482 101F move.b D0, [A7]+
00000484 4A00 tst.b D0
00000486 6700 FE1E beq -0x1E0 /* 000002A6 */
0000048A 0C6D 0009 FE2A cmpi.w [A5 - 0x1D6], 0x9 /* '\t' */
00000490 660A bne +0xC /* 0000049C */
00000492 3F3C 0001 move.w -[A7], 0x1
00000496 4EBA 03C8 jsr [PC + 0x3C8 /* 00000860 */]
0000049A 548F addq.l A7, 2
label0000049C:
0000049C 0C6D 0008 FE2A cmpi.w [A5 - 0x1D6], 0x8
000004A2 6700 0098 beq +0x9A /* 0000053C */
000004A6 0C6D 000A FE2A cmpi.w [A5 - 0x1D6], 0xA /* '\n' */
000004AC 6700 00B4 beq +0xB6 /* 00000562 */
000004B0 0C6D 0003 FE2A cmpi.w [A5 - 0x1D6], 0x3
000004B6 6608 bne +0xA /* 000004C0 */
000004B8 4EBA 0216 jsr [PC + 0x216 /* 000006D0 */]
000004BC 6000 00A4 bra +0xA6 /* 00000562 */
label000004C0:
000004C0 0C6D 000C FE2A cmpi.w [A5 - 0x1D6], 0xC
000004C6 660A bne +0xC /* 000004D2 */
000004C8 703C moveq.l D0, 0x3C
000004CA 2B40 FDFE move.l [A5 - 0x202], D0
000004CE 6000 0134 bra +0x136 /* 00000604 */
label000004D2:
000004D2 0C6D 0014 FE2A cmpi.w [A5 - 0x1D6], 0x14
000004D8 6700 0088 beq +0x8A /* 00000562 */
000004DC 0C6D 0005 FE2A cmpi.w [A5 - 0x1D6], 0x5
000004E2 6700 007E beq +0x80 /* 00000562 */
000004E6 0C6D 0004 FE2A cmpi.w [A5 - 0x1D6], 0x4
000004EC 660E bne +0x10 /* 000004FC */
000004EE 202D FDFE move.l D0, [A5 - 0x202]
000004F2 5A80 addq.l D0, 5
000004F4 2B40 FDFE move.l [A5 - 0x202], D0
000004F8 6000 0068 bra +0x6A /* 00000562 */
label000004FC:
000004FC 0C6D 000E FE2A cmpi.w [A5 - 0x1D6], 0xE
00000502 660C bne +0xE /* 00000510 */
00000504 202D FDFE move.l D0, [A5 - 0x202]
00000508 5B80 subq.l D0, 5
0000050A 2B40 FDFE move.l [A5 - 0x202], D0
0000050E 6052 bra +0x54 /* 00000562 */
label00000510:
00000510 0C6D 000D FE2A cmpi.w [A5 - 0x1D6], 0xD /* '\r' */
00000516 674A beq +0x4C /* 00000562 */
00000518 0C6D 0015 FE2A cmpi.w [A5 - 0x1D6], 0x15
0000051E 6742 beq +0x44 /* 00000562 */
00000520 486D FE62 pea.l [A5 - 0x19E]
00000524 42A7 clr.l -[A7]
00000526 42A7 clr.l -[A7]
00000528 42A7 clr.l -[A7]
0000052A A98B syscall ParamText
0000052C 4267 clr.w -[A7]
0000052E 3F3C 00C9 move.w -[A7], 0xC9
00000532 42A7 clr.l -[A7]
00000534 A988 syscall CautionAlert
00000536 301F move.w D0, [A7]+
00000538 6000 FD66 bra -0x298 /* 000002A0 */
label0000053C:
0000053C 206D FD88 movea.l A0, [A5 - 0x278]
00000540 2050 movea.l A0, [A0]
00000542 43ED FD8C lea.l A1, [A5 - 0x274]
00000546 7010 moveq.l D0, 0x10
label00000548:
00000548 22D8 move.l [A1]+, [A0]+
0000054A 51C8 FFFC dbf D0, -0x6 /* 00000548 */
0000054E 486D FD8C pea.l [A5 - 0x274]
00000552 A851 syscall SetCursor
00000554 3F3C 0001 move.w -[A7], 0x1
00000558 4EBA 042A jsr [PC + 0x42A /* 00000984 */]
0000055C 548F addq.l A7, 2
0000055E 6000 FD40 bra -0x2BE /* 000002A0 */
label00000562:
00000562 0CAD 0000 0005 FDFE cmpi.l [A5 - 0x202], 0x5
0000056A 6C06 bge +0x8 /* 00000572 */
0000056C 7005 moveq.l D0, 0x05
0000056E 2B40 FDFE move.l [A5 - 0x202], D0
label00000572:
00000572 0CAD 0000 00C3 FDFE cmpi.l [A5 - 0x202], 0xC3
0000057A 6F08 ble +0xA /* 00000584 */
0000057C 2B7C 0000 00C3 FDFE move.l [A5 - 0x202], 0xC3
label00000584:
00000584 4878 0002 push.l 0x2
00000588 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000058C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000590 306D FE0C movea.w A0, [A5 - 0x1F4]
00000594 91C0 sub.l A0, D0
00000596 4878 0002 push.l 0x2
0000059A 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000059E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000005A2 326D FE0A movea.w A1, [A5 - 0x1F6]
000005A6 93C0 sub.l A1, D0
000005A8 4878 0002 push.l 0x2
000005AC 2F2D FDFE move.l -[A7], [A5 - 0x202]
000005B0 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000005B4 346D FE0C movea.w A2, [A5 - 0x1F4]
000005B8 D08A add.l D0, A2
000005BA 4878 0002 push.l 0x2
000005BE 2F2D FDFE move.l -[A7], [A5 - 0x202]
000005C2 2D40 FFFC move.l [A6 - 0x4], D0
000005C6 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000005CA 346D FE0A movea.w A2, [A5 - 0x1F6]
000005CE D08A add.l D0, A2
000005D0 486D FE1A pea.l [A5 - 0x1E6]
000005D4 2208 move.l D1, A0
000005D6 3F01 move.w -[A7], D1
000005D8 2209 move.l D1, A1
000005DA 3F01 move.w -[A7], D1
000005DC 3F2E FFFE move.w -[A7], [A6 - 0x2]
000005E0 3F00 move.w -[A7], D0
000005E2 A8A7 syscall SetRect
000005E4 486D FD08 pea.l [A5 - 0x2F8]
000005E8 206D FE32 movea.l A0, [A5 - 0x1CE]
000005EC 4868 0002 pea.l [A0 + 0x2]
000005F0 486D FE1A pea.l [A5 - 0x1E6]
000005F4 486D FE22 pea.l [A5 - 0x1DE]
000005F8 3F2D FE2C move.w -[A7], [A5 - 0x1D4]
000005FC 42A7 clr.l -[A7]
000005FE A8EC syscall CopyBits
00000600 6000 FD1A bra -0x2E4 /* 0000031C */
label00000604:
00000604 4878 0002 push.l 0x2
00000608 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000060C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000610 306D FE0C movea.w A0, [A5 - 0x1F4]
00000614 91C0 sub.l A0, D0
00000616 4878 0002 push.l 0x2
0000061A 2F2D FDFE move.l -[A7], [A5 - 0x202]
0000061E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000622 326D FE0A movea.w A1, [A5 - 0x1F6]
00000626 93C0 sub.l A1, D0
00000628 4878 0002 push.l 0x2
0000062C 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000630 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000634 346D FE0C movea.w A2, [A5 - 0x1F4]
00000638 D08A add.l D0, A2
0000063A 4878 0002 push.l 0x2
0000063E 2F2D FDFE move.l -[A7], [A5 - 0x202]
00000642 2D40 FFFC move.l [A6 - 0x4], D0
00000646 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000064A 346D FE0A movea.w A2, [A5 - 0x1F6]
0000064E D08A add.l D0, A2
00000650 486D FE1A pea.l [A5 - 0x1E6]
00000654 2208 move.l D1, A0
00000656 3F01 move.w -[A7], D1
00000658 2209 move.l D1, A1
0000065A 3F01 move.w -[A7], D1
0000065C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000660 3F00 move.w -[A7], D0
00000662 A8A7 syscall SetRect
00000664 6000 FCB6 bra -0x348 /* 0000031C */
00000668 245F movea.l A2, [A7]+
0000066A 4E5E unlink A6
0000066C 4E75 rts
fn0000066E:
0000066E 4E56 FFF8 link A6, -0x0008
00000672 42AE FFFC clr.l [A6 - 0x4]
00000676 601E bra +0x20 /* 00000696 */
label00000678:
00000678 3F3C 0003 move.w -[A7], 0x3
0000067C A9C8 syscall SysBeep
0000067E 42AE FFF8 clr.l [A6 - 0x8]
00000682 6004 bra +0x6 /* 00000688 */
label00000684:
00000684 52AE FFF8 addq.l [A6 - 0x8], 1
label00000688:
00000688 0CAE 0000 C350 FFF8 cmpi.l [A6 - 0x8], 0xC350
00000690 6DF2 blt -0xC /* 00000684 */
00000692 52AE FFFC addq.l [A6 - 0x4], 1
label00000696:
00000696 102E 0009 move.b D0, [A6 + 0x9]
0000069A 4880 ext.w D0
0000069C 48C0 ext.l D0
0000069E B0AE FFFC cmp.l D0, [A6 - 0x4]
000006A2 6ED4 bgt -0x2A /* 00000678 */
000006A4 4E5E unlink A6
000006A6 4E75 rts
fn000006A8:
000006A8 4E56 FFEE link A6, -0x0012
000006AC 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
000006B0 3F2E 0008 move.w -[A7], [A6 + 0x8]
000006B4 486E FFFE pea.l [A6 - 0x2]
000006B8 486E FFFA pea.l [A6 - 0x6]
000006BC 486E FFF2 pea.l [A6 - 0xE]
000006C0 A98D syscall GetDialogItem/GetDItem
000006C2 2F2E FFFA move.l -[A7], [A6 - 0x6]
000006C6 2F2E 000A move.l -[A7], [A6 + 0xA]
000006CA A95F syscall SetControlTitle/SetCTitle
000006CC 4E5E unlink A6
000006CE 4E75 rts
fn000006D0:
000006D0 7000 moveq.l D0, 0x00
000006D2 102D FE2E move.b D0, [A5 - 0x1D2]
000006D6 4A40 tst.w D0
000006D8 6618 bne +0x1A /* 000006F2 */
000006DA 7001 moveq.l D0, 0x01
000006DC 1B40 FE2E move.b [A5 - 0x1D2], D0
000006E0 486D FE70 pea.l [A5 - 0x190]
000006E4 3F3C 0003 move.w -[A7], 0x3
000006E8 4EBA FFBE jsr [PC - 0x42 /* 000006A8 */]
000006EC 5C8F addq.l A7, 6
000006EE 6000 005C bra +0x5E /* 0000074C */
label000006F2:
000006F2 7000 moveq.l D0, 0x00
000006F4 102D FE2E move.b D0, [A5 - 0x1D2]
000006F8 0C40 0001 cmpi.w D0, 0x1
000006FC 6616 bne +0x18 /* 00000714 */
000006FE 7002 moveq.l D0, 0x02
00000700 1B40 FE2E move.b [A5 - 0x1D2], D0
00000704 486D FE74 pea.l [A5 - 0x18C]
00000708 3F3C 0003 move.w -[A7], 0x3
0000070C 4EBA FF9A jsr [PC - 0x66 /* 000006A8 */]
00000710 5C8F addq.l A7, 6
00000712 6038 bra +0x3A /* 0000074C */
label00000714:
00000714 7000 moveq.l D0, 0x00
00000716 102D FE2E move.b D0, [A5 - 0x1D2]
0000071A 0C40 0002 cmpi.w D0, 0x2
0000071E 6614 bne +0x16 /* 00000734 */
00000720 422D FE2E clr.b [A5 - 0x1D2]
00000724 486D FE78 pea.l [A5 - 0x188]
00000728 3F3C 0003 move.w -[A7], 0x3
0000072C 4EBA FF7A jsr [PC - 0x86 /* 000006A8 */]
00000730 5C8F addq.l A7, 6
00000732 6018 bra +0x1A /* 0000074C */
label00000734:
00000734 486D FE7A pea.l [A5 - 0x186]
00000738 42A7 clr.l -[A7]
0000073A 42A7 clr.l -[A7]
0000073C 42A7 clr.l -[A7]
0000073E A98B syscall ParamText
00000740 4267 clr.w -[A7]
00000742 3F3C 00C9 move.w -[A7], 0xC9
00000746 42A7 clr.l -[A7]
00000748 A988 syscall CautionAlert
0000074A 301F move.w D0, [A7]+
label0000074C:
0000074C 4E75 rts
fn0000074E:
0000074E 4E56 FEFA link A6, -0x0106
00000752 4267 clr.w -[A7]
00000754 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000758 A86A syscall HiWord
0000075A 301F move.w D0, [A7]+
0000075C 3D40 FFFE move.w [A6 - 0x2], D0
00000760 3D6E 000A FFFC move.w [A6 - 0x4], [A6 + 0xA]
00000766 302E FFFE move.w D0, [A6 - 0x2]
0000076A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000076E 00C8 .incomplete
00000770 00C9 .incomplete
00000772 0034 0004 001E ori.b [A4 + D0.w + 0x1E], 0x4
00000778 2F2D FE02 move.l -[A7], [A5 - 0x1FE]
0000077C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000780 486E FEFA pea.l [A6 - 0x106]
00000784 A946 syscall GetMenuItemText/GetItem
00000786 4267 clr.w -[A7]
00000788 486E FEFA pea.l [A6 - 0x106]
0000078C A9B6 syscall OpenDeskAcc
0000078E 301F move.w D0, [A7]+
00000790 6000 0014 bra +0x16 /* 000007A6 */
00000794 302E FFFC move.w D0, [A6 - 0x4]
00000798 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000079C 0001 0001 ori.b D1, 0x1
000007A0 0006 0002 ori.b D6, 0x2
000007A4 A9F4 syscall ExitToShell
label000007A6:
000007A6 4267 clr.w -[A7]
000007A8 A938 syscall HiliteMenu
000007AA 4E5E unlink A6
000007AC 4E75 rts
fn000007AE:
000007AE 4267 clr.w -[A7]
000007B0 2F2D FDDE move.l -[A7], [A5 - 0x222]
000007B4 486D FE36 pea.l [A5 - 0x1CA]
000007B8 A92C syscall FindWindow
000007BA 301F move.w D0, [A7]+
000007BC 3B40 FE30 move.w [A5 - 0x1D0], D0
000007C0 42A7 clr.l -[A7]
000007C2 A924 syscall FrontWindow
000007C4 205F movea.l A0, [A7]+
000007C6 B1ED FE36 cmpa.l A0, [A5 - 0x1CA]
000007CA 670C beq +0xE /* 000007D8 */
000007CC 4AAD FE36 tst.l [A5 - 0x1CA]
000007D0 6706 beq +0x8 /* 000007D8 */
000007D2 2F2D FE36 move.l -[A7], [A5 - 0x1CA]
000007D6 A91F syscall SelectWindow
label000007D8:
000007D8 4AAD FE3A tst.l [A5 - 0x1C6]
000007DC 671C beq +0x1E /* 000007FA */
000007DE 202D FE3A move.l D0, [A5 - 0x1C6]
000007E2 B0AD FE36 cmp.l D0, [A5 - 0x1CA]
000007E6 6612 bne +0x14 /* 000007FA */
000007E8 4AAD FE36 tst.l [A5 - 0x1CA]
000007EC 6700 0070 beq +0x72 /* 0000085E */
000007F0 2F2D FE36 move.l -[A7], [A5 - 0x1CA]
000007F4 A873 syscall SetPort
000007F6 6000 0066 bra +0x68 /* 0000085E */
label000007FA:
000007FA 302D FE30 move.w D0, [A5 - 0x1D0]
000007FE 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000802 0001 0006 ori.b D1, 0x6
00000806 0058 000C ori.w [A0]+, 0xC
0000080A 001E 0052 ori.b [A6]+, 0x52 /* 'R' */
0000080E 0026 004E ori.b -[A6], 0x4E /* 'N' */
00000812 0032 42A7 2F2D FDDE ori.b [[A2 - 0x222] + D2 * 8], 0xA7
0000081A A93D syscall MenuSelect
0000081C 201F move.l D0, [A7]+
0000081E 2F00 move.l -[A7], D0
00000820 4EBA FF2C jsr [PC - 0xD4 /* 0000074E */]
00000824 588F addq.l A7, 4
00000826 6036 bra +0x38 /* 0000085E */
00000828 486D FDD4 pea.l [A5 - 0x22C]
0000082C 2F2D FE36 move.l -[A7], [A5 - 0x1CA]
00000830 A9B3 syscall SystemClick
00000832 602A bra +0x2C /* 0000085E */
00000834 2F2D FE36 move.l -[A7], [A5 - 0x1CA]
00000838 2F2D FDDE move.l -[A7], [A5 - 0x222]
0000083C 486D FE12 pea.l [A5 - 0x1EE]
00000840 A925 syscall DragWindow
00000842 601A bra +0x1C /* 0000085E */
00000844 4267 clr.w -[A7]
00000846 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
0000084A 2F2D FDDE move.l -[A7], [A5 - 0x222]
0000084E A91E syscall TrackGoAway
00000850 101F move.b D0, [A7]+
00000852 4A00 tst.b D0
00000854 6708 beq +0xA /* 0000085E */
00000856 4267 clr.w -[A7]
00000858 4EBA 0006 jsr [PC + 0x6 /* 00000860 */]
0000085C 548F addq.l A7, 2
label0000085E:
0000085E 4E75 rts
fn00000860:
00000860 4E56 0000 link A6, 0
00000864 486D FE0A pea.l [A5 - 0x1F6]
00000868 A972 syscall GetMouse
0000086A 486D FE0A pea.l [A5 - 0x1F6]
0000086E A870 syscall LocalToGlobal
00000870 4A6E 0008 tst.w [A6 + 0x8]
00000874 664E bne +0x50 /* 000008C4 */
00000876 206D FDD0 movea.l A0, [A5 - 0x230]
0000087A 302D FE0A move.w D0, [A5 - 0x1F6]
0000087E 5E40 addq.w D0, 7
00000880 2050 movea.l A0, [A0]
00000882 3080 move.w [A0], D0
00000884 206D FDD0 movea.l A0, [A5 - 0x230]
00000888 302D FE0C move.w D0, [A5 - 0x1F4]
0000088C 0640 FFF6 addi.w D0, 0xFFF6
00000890 2050 movea.l A0, [A0]
00000892 3140 0002 move.w [A0 + 0x2], D0
00000896 206D FDD0 movea.l A0, [A5 - 0x230]
0000089A 226D FDD0 movea.l A1, [A5 - 0x230]
0000089E 2251 movea.l A1, [A1]
000008A0 3011 move.w D0, [A1]
000008A2 0640 00A8 addi.w D0, 0xA8
000008A6 2050 movea.l A0, [A0]
000008A8 3140 0004 move.w [A0 + 0x4], D0
000008AC 206D FDD0 movea.l A0, [A5 - 0x230]
000008B0 226D FDD0 movea.l A1, [A5 - 0x230]
000008B4 2251 movea.l A1, [A1]
000008B6 3029 0002 move.w D0, [A1 + 0x2]
000008BA 0640 0074 addi.w D0, 0x74 /* 't' */
000008BE 2050 movea.l A0, [A0]
000008C0 3140 0006 move.w [A0 + 0x6], D0
label000008C4:
000008C4 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
000008CA 6650 bne +0x52 /* 0000091C */
000008CC 206D FDD0 movea.l A0, [A5 - 0x230]
000008D0 302D FE0A move.w D0, [A5 - 0x1F6]
000008D4 0640 FF66 addi.w D0, 0xFF66
000008D8 2050 movea.l A0, [A0]
000008DA 3080 move.w [A0], D0
000008DC 206D FDD0 movea.l A0, [A5 - 0x230]
000008E0 302D FE0C move.w D0, [A5 - 0x1F4]
000008E4 0640 FFED addi.w D0, 0xFFED
000008E8 2050 movea.l A0, [A0]
000008EA 3140 0002 move.w [A0 + 0x2], D0
000008EE 206D FDD0 movea.l A0, [A5 - 0x230]
000008F2 226D FDD0 movea.l A1, [A5 - 0x230]
000008F6 2251 movea.l A1, [A1]
000008F8 3011 move.w D0, [A1]
000008FA 0640 00A8 addi.w D0, 0xA8
000008FE 2050 movea.l A0, [A0]
00000900 3140 0004 move.w [A0 + 0x4], D0
00000904 206D FDD0 movea.l A0, [A5 - 0x230]
00000908 226D FDD0 movea.l A1, [A5 - 0x230]
0000090C 2251 movea.l A1, [A1]
0000090E 3029 0002 move.w D0, [A1 + 0x2]
00000912 0640 0074 addi.w D0, 0x74 /* 't' */
00000916 2050 movea.l A0, [A0]
00000918 3140 0006 move.w [A0 + 0x6], D0
label0000091C:
0000091C 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00000920 A9AA syscall ChangedResource
00000922 4267 clr.w -[A7]
00000924 A9AF syscall ResError
00000926 301F move.w D0, [A7]+
00000928 4A40 tst.w D0
0000092A 671A beq +0x1C /* 00000946 */
0000092C 486D FE90 pea.l [A5 - 0x170]
00000930 42A7 clr.l -[A7]
00000932 42A7 clr.l -[A7]
00000934 42A7 clr.l -[A7]
00000936 A98B syscall ParamText
00000938 4267 clr.w -[A7]
0000093A 3F3C 00C9 move.w -[A7], 0xC9
0000093E 42A7 clr.l -[A7]
00000940 A988 syscall CautionAlert
00000942 301F move.w D0, [A7]+
00000944 A9F4 syscall ExitToShell
label00000946:
00000946 2F2D FDD0 move.l -[A7], [A5 - 0x230]
0000094A A9B0 syscall WriteResource
0000094C 4267 clr.w -[A7]
0000094E A9AF syscall ResError
00000950 301F move.w D0, [A7]+
00000952 4A40 tst.w D0
00000954 671A beq +0x1C /* 00000970 */
00000956 486D FEA0 pea.l [A5 - 0x160]
0000095A 42A7 clr.l -[A7]
0000095C 42A7 clr.l -[A7]
0000095E 42A7 clr.l -[A7]
00000960 A98B syscall ParamText
00000962 4267 clr.w -[A7]
00000964 3F3C 00C9 move.w -[A7], 0xC9
00000968 42A7 clr.l -[A7]
0000096A A988 syscall CautionAlert
0000096C 301F move.w D0, [A7]+
0000096E A9F4 syscall ExitToShell
label00000970:
00000970 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00000974 4EBA F6CC jsr [PC - 0x934 /* 00000042 */]
00000978 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
0000097C A983 syscall DisposeDialog
0000097E A9F4 syscall ExitToShell
00000980 4E5E unlink A6
00000982 4E75 rts
fn00000984:
00000984 4E56 0000 link A6, 0
00000988 0C2E 0001 0009 cmpi.b [A6 + 0x9], 0x1
0000098E 6716 beq +0x18 /* 000009A6 */
00000990 0C2E 0002 0009 cmpi.b [A6 + 0x9], 0x2
00000996 670E beq +0x10 /* 000009A6 */
00000998 3F3C 0001 move.w -[A7], 0x1
0000099C 4EBA FCD0 jsr [PC - 0x330 /* 0000066E */]
000009A0 548F addq.l A7, 2
000009A2 6000 01F8 bra +0x1FA /* 00000B9C */
label000009A6:
000009A6 42A7 clr.l -[A7]
000009A8 42A7 clr.l -[A7]
000009AA 486D FEB0 pea.l [A5 - 0x150]
000009AE 486D FFEE pea.l [A5 - 0x12]
000009B2 1F3C 0001 move.b -[A7], 0x1
000009B6 3F3C 0004 move.w -[A7], 0x4
000009BA 4878 FFFF push.l 0xFFFF
000009BE 1F3C 0001 move.b -[A7], 0x1
000009C2 42A7 clr.l -[A7]
000009C4 A913 syscall NewWindow
000009C6 205F movea.l A0, [A7]+
000009C8 2B48 FEB8 move.l [A5 - 0x148], A0
000009CC 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000009D0 A873 syscall SetPort
000009D2 4EBA 03CE jsr [PC + 0x3CE /* 00000DA2 */]
000009D6 42A7 clr.l -[A7]
000009D8 4879 4844 5441 push.l 0x48445441 /* 'HDTA' */
000009DE 3F3C 00C8 move.w -[A7], 0xC8
000009E2 A9A0 syscall GetResource
000009E4 205F movea.l A0, [A7]+
000009E6 2B48 FED4 move.l [A5 - 0x12C], A0
000009EA 42A7 clr.l -[A7]
000009EC 2F2D FED4 move.l -[A7], [A5 - 0x12C]
000009F0 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
000009F2 201F move.l D0, [A7]+
000009F4 2B40 FED8 move.l [A5 - 0x128], D0
000009F8 206D FED4 movea.l A0, [A5 - 0x12C]
000009FC 2F10 move.l -[A7], [A0]
000009FE 2F2D FED8 move.l -[A7], [A5 - 0x128]
00000A02 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000A06 A9DE syscall TEInsert
00000A08 42A7 clr.l -[A7]
00000A0A 42A7 clr.l -[A7]
00000A0C 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000A10 A9D1 syscall TESetSelect
00000A12 4EBA 04E8 jsr [PC + 0x4E8 /* 00000EFC */]
00000A16 486D FD16 pea.l [A5 - 0x2EA]
00000A1A A851 syscall SetCursor
label00000A1C:
00000A1C 4267 clr.w -[A7]
00000A1E 3F3C FFFF move.w -[A7], 0xFFFF
00000A22 486D FEC4 pea.l [A5 - 0x13C]
00000A26 A970 syscall GetNextEvent
00000A28 101F move.b D0, [A7]+
00000A2A 0C6D 0001 FEC4 cmpi.w [A5 - 0x13C], 0x1
00000A30 6700 006E beq +0x70 /* 00000AA0 */
00000A34 0C6D 0006 FEC4 cmpi.w [A5 - 0x13C], 0x6
00000A3A 66E0 bne -0x1E /* 00000A1C */
00000A3C 202D FEC6 move.l D0, [A5 - 0x13A]
00000A40 B0AD FE32 cmp.l D0, [A5 - 0x1CE]
00000A44 670C beq +0xE /* 00000A52 */
00000A46 202D FEC6 move.l D0, [A5 - 0x13A]
00000A4A B0AD FEB8 cmp.l D0, [A5 - 0x148]
00000A4E 671C beq +0x1E /* 00000A6C */
00000A50 60CA bra -0x34 /* 00000A1C */
label00000A52:
00000A52 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
00000A56 A873 syscall SetPort
00000A58 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
00000A5C A922 syscall BeginUpdate
00000A5E 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
00000A62 A981 syscall DrawDialog
00000A64 2F2D FE32 move.l -[A7], [A5 - 0x1CE]
00000A68 A923 syscall EndUpdate
00000A6A 60B0 bra -0x4E /* 00000A1C */
label00000A6C:
00000A6C 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000A70 A873 syscall SetPort
00000A72 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000A76 A922 syscall BeginUpdate
00000A78 206D FEB8 movea.l A0, [A5 - 0x148]
00000A7C 4868 0010 pea.l [A0 + 0x10]
00000A80 A8A3 syscall EraseRect
00000A82 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000A86 A969 syscall DrawControls
00000A88 206D FEB8 movea.l A0, [A5 - 0x148]
00000A8C 4868 0010 pea.l [A0 + 0x10]
00000A90 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000A94 A9D3 syscall TEUpdate
00000A96 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000A9A A923 syscall EndUpdate
00000A9C 6000 FF7E bra -0x80 /* 00000A1C */
label00000AA0:
00000AA0 4267 clr.w -[A7]
00000AA2 2F2D FECE move.l -[A7], [A5 - 0x132]
00000AA6 486D FEEE pea.l [A5 - 0x112]
00000AAA A92C syscall FindWindow
00000AAC 301F move.w D0, [A7]+
00000AAE 3B40 FEDC move.w [A5 - 0x124], D0
00000AB2 202D FEEE move.l D0, [A5 - 0x112]
00000AB6 B0AD FEB8 cmp.l D0, [A5 - 0x148]
00000ABA 6600 FF60 bne -0x9E /* 00000A1C */
00000ABE 0C6D 0006 FEDC cmpi.w [A5 - 0x124], 0x6
00000AC4 6624 bne +0x26 /* 00000AEA */
00000AC6 4267 clr.w -[A7]
00000AC8 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000ACC 2F2D FECE move.l -[A7], [A5 - 0x132]
00000AD0 A91E syscall TrackGoAway
00000AD2 101F move.b D0, [A7]+
00000AD4 4A00 tst.b D0
00000AD6 6700 FF44 beq -0xBA /* 00000A1C */
00000ADA 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000ADE A9CD syscall TEDispose
00000AE0 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000AE4 A914 syscall DisposeWindow
00000AE6 6000 00B4 bra +0xB6 /* 00000B9C */
label00000AEA:
00000AEA 0C6D 0003 FEDC cmpi.w [A5 - 0x124], 0x3
00000AF0 6612 bne +0x14 /* 00000B04 */
00000AF2 486D FEC4 pea.l [A5 - 0x13C]
00000AF6 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000AFA 4EBA 0616 jsr [PC + 0x616 /* 00001112 */]
00000AFE 508F addq.l A7, 8
00000B00 6000 FF1A bra -0xE4 /* 00000A1C */
label00000B04:
00000B04 0C6D 0004 FEDC cmpi.w [A5 - 0x124], 0x4
00000B0A 6600 FF10 bne -0xEE /* 00000A1C */
00000B0E 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000B12 2F2D FECE move.l -[A7], [A5 - 0x132]
00000B16 486D FEDE pea.l [A5 - 0x122]
00000B1A A925 syscall DragWindow
00000B1C 6000 FEFE bra -0x100 /* 00000A1C */
00000B20 2F2D FEC6 move.l -[A7], [A5 - 0x13A]
00000B24 4EBA 025E jsr [PC + 0x25E /* 00000D84 */]
00000B28 588F addq.l A7, 4
00000B2A 4A40 tst.w D0
00000B2C 6700 FEEE beq -0x110 /* 00000A1C */
00000B30 206D FEB8 movea.l A0, [A5 - 0x148]
00000B34 43ED FEE6 lea.l A1, [A5 - 0x11A]
00000B38 41E8 0010 lea.l A0, [A0 + 0x10]
00000B3C 22D8 move.l [A1]+, [A0]+
00000B3E 22D8 move.l [A1]+, [A0]+
00000B40 302D FEEA move.w D0, [A5 - 0x116]
00000B44 0640 FFF3 addi.w D0, 0xFFF3
00000B48 3B40 FEE6 move.w [A5 - 0x11A], D0
00000B4C 302D FEE8 move.w D0, [A5 - 0x118]
00000B50 0640 FFF3 addi.w D0, 0xFFF3
00000B54 3B40 FEE8 move.w [A5 - 0x118], D0
00000B58 486D FEE6 pea.l [A5 - 0x11A]
00000B5C A928 syscall InvalRect
00000B5E 082D 0000 FED3 btst.b [A5 - 0x12D], 0x0
00000B64 6718 beq +0x1A /* 00000B7E */
00000B66 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000B6A A9D8 syscall TEActivate
00000B6C 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000B70 A957 syscall ShowControl
00000B72 4267 clr.w -[A7]
00000B74 4EBA F4F8 jsr [PC - 0xB08 /* 0000006E */]
00000B78 301F move.w D0, [A7]+
00000B7A 6000 FEA0 bra -0x15E /* 00000A1C */
label00000B7E:
00000B7E 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000B82 A9D9 syscall TEDeactivate
00000B84 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000B88 A958 syscall HideControl
00000B8A 42A7 clr.l -[A7]
00000B8C A9FC syscall ZeroScrap
00000B8E 201F move.l D0, [A7]+
00000B90 4267 clr.w -[A7]
00000B92 4EBA F508 jsr [PC - 0xAF8 /* 0000009C */]
00000B96 301F move.w D0, [A7]+
00000B98 6000 FE82 bra -0x17C /* 00000A1C */
label00000B9C:
00000B9C 4E5E unlink A6
00000B9E 4E75 rts
00000BA0 4E56 FFFC link A6, -0x0004
00000BA4 426E FFFE clr.w [A6 - 0x2]
00000BA8 6018 bra +0x1A /* 00000BC2 */
label00000BAA:
00000BAA 426E FFFC clr.w [A6 - 0x4]
00000BAE 6004 bra +0x6 /* 00000BB4 */
label00000BB0:
00000BB0 526E FFFC addq.w [A6 - 0x4], 1
label00000BB4:
00000BB4 302E FFFC move.w D0, [A6 - 0x4]
00000BB8 B06E 0008 cmp.w D0, [A6 + 0x8]
00000BBC 6DF2 blt -0xC /* 00000BB0 */
00000BBE 526E FFFE addq.w [A6 - 0x2], 1
label00000BC2:
00000BC2 302E FFFE move.w D0, [A6 - 0x2]
00000BC6 B06E 0008 cmp.w D0, [A6 + 0x8]
00000BCA 6DDE blt -0x20 /* 00000BAA */
00000BCC 4E5E unlink A6
00000BCE 4E75 rts
00000BD0 4E56 FFEC link A6, -0x0014
00000BD4 2F07 move.l -[A7], D7
00000BD6 A9B4 syscall SystemTask
00000BD8 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000BDC A9DA syscall TEIdle
00000BDE 4267 clr.w -[A7]
00000BE0 3F3C FFFF move.w -[A7], 0xFFFF
00000BE4 486E FFF0 pea.l [A6 - 0x10]
00000BE8 A970 syscall GetNextEvent
00000BEA 101F move.b D0, [A7]+
00000BEC 4A00 tst.b D0
00000BEE 6700 018C beq +0x18E /* 00000D7C */
00000BF2 302E FFF0 move.w D0, [A6 - 0x10]
00000BF6 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000BFA 0001 0008 ori.b D1, 0x8
00000BFE 017E bchg <<invalid special address>>, D0
00000C00 0010 017A ori.b [A0], 0x7A /* 'z' */
00000C04 00D8 .incomplete
00000C06 0176 00D4 bchg [A6 + D0.w - 0x44], D0
00000C0A 015A bchg [A2]+, D0
00000C0C 0170 00DE bchg [A0 + D0.w - 0x34], D0
00000C10 4267 clr.w -[A7]
00000C12 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000C16 486E FFEC pea.l [A6 - 0x14]
00000C1A A92C syscall FindWindow
00000C1C 301F move.w D0, [A7]+
00000C1E 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000C22 0000 0006 ori.b D0, 0x6
00000C26 0156 bchg [A6], D0
00000C28 000E 0152 ori.b A6, 0x52 /* 'R' */
00000C2C 0038 0076 0042 ori.b [0x00000042], 0x76 /* 'v' */
00000C32 0062 000C ori.w -[A2], 0xC
00000C36 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000C3A A9C8 syscall SysBeep
00000C3C 6000 013E bra +0x140 /* 00000D7C */
00000C40 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C44 4EBA 013E jsr [PC + 0x13E /* 00000D84 */]
00000C48 588F addq.l A7, 4
00000C4A 4A40 tst.w D0
00000C4C 6700 012E beq +0x130 /* 00000D7C */
00000C50 4267 clr.w -[A7]
00000C52 2F2D FF8E move.l -[A7], [A5 - 0x72]
00000C56 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000C5A A91E syscall TrackGoAway
00000C5C 101F move.b D0, [A7]+
00000C5E 4A00 tst.b D0
00000C60 6000 011A bra +0x11C /* 00000D7C */
00000C64 486E FFF0 pea.l [A6 - 0x10]
00000C68 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C6C A9B3 syscall SystemClick
00000C6E 6000 010C bra +0x10E /* 00000D7C */
00000C72 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C76 4EBA 010C jsr [PC + 0x10C /* 00000D84 */]
00000C7A 588F addq.l A7, 4
00000C7C 4A40 tst.w D0
00000C7E 6700 00FC beq +0xFE /* 00000D7C */
00000C82 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C86 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000C8A 486D FF94 pea.l [A5 - 0x6C]
00000C8E A925 syscall DragWindow
00000C90 6000 00EA bra +0xEC /* 00000D7C */
00000C94 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C98 4EBA 00EA jsr [PC + 0xEA /* 00000D84 */]
00000C9C 588F addq.l A7, 4
00000C9E 4A40 tst.w D0
00000CA0 6600 00DA bne +0xDC /* 00000D7C */
00000CA4 42A7 clr.l -[A7]
00000CA6 A924 syscall FrontWindow
00000CA8 205F movea.l A0, [A7]+
00000CAA B1EE FFEC cmpa.l A0, [A6 - 0x14]
00000CAE 670A beq +0xC /* 00000CBA */
00000CB0 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000CB4 A91F syscall SelectWindow
00000CB6 6000 00C4 bra +0xC6 /* 00000D7C */
label00000CBA:
00000CBA 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000CBE 4EBA 00C4 jsr [PC + 0xC4 /* 00000D84 */]
00000CC2 588F addq.l A7, 4
00000CC4 4A40 tst.w D0
00000CC6 6700 00B4 beq +0xB6 /* 00000D7C */
00000CCA 486E FFF0 pea.l [A6 - 0x10]
00000CCE 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000CD2 4EBA 043E jsr [PC + 0x43E /* 00001112 */]
00000CD6 508F addq.l A7, 8
00000CD8 6000 00A2 bra +0xA4 /* 00000D7C */
00000CDC 203C 0000 00FF move.l D0, 0xFF
00000CE2 C0AE FFF2 and.l D0, [A6 - 0xE]
00000CE6 1E00 move.b D7, D0
00000CE8 6000 0092 bra +0x94 /* 00000D7C */
00000CEC 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000CF0 4EBA 0092 jsr [PC + 0x92 /* 00000D84 */]
00000CF4 588F addq.l A7, 4
00000CF6 4A40 tst.w D0
00000CF8 6700 0082 beq +0x84 /* 00000D7C */
00000CFC 206D FF8E movea.l A0, [A5 - 0x72]
00000D00 43ED FEE6 lea.l A1, [A5 - 0x11A]
00000D04 41E8 0010 lea.l A0, [A0 + 0x10]
00000D08 22D8 move.l [A1]+, [A0]+
00000D0A 22D8 move.l [A1]+, [A0]+
00000D0C 302D FEEA move.w D0, [A5 - 0x116]
00000D10 0640 FFF3 addi.w D0, 0xFFF3
00000D14 3B40 FEE6 move.w [A5 - 0x11A], D0
00000D18 302D FEE8 move.w D0, [A5 - 0x118]
00000D1C 0640 FFF3 addi.w D0, 0xFFF3
00000D20 3B40 FEE8 move.w [A5 - 0x118], D0
00000D24 486D FEE6 pea.l [A5 - 0x11A]
00000D28 A928 syscall InvalRect
00000D2A 082E 0000 FFFF btst.b [A6 - 0x1], 0x0
00000D30 6716 beq +0x18 /* 00000D48 */
00000D32 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000D36 A9D8 syscall TEActivate
00000D38 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000D3C A957 syscall ShowControl
00000D3E 4267 clr.w -[A7]
00000D40 4EBA F32C jsr [PC - 0xCD4 /* 0000006E */]
00000D44 301F move.w D0, [A7]+
00000D46 6034 bra +0x36 /* 00000D7C */
label00000D48:
00000D48 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000D4C A9D9 syscall TEDeactivate
00000D4E 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000D52 A958 syscall HideControl
00000D54 42A7 clr.l -[A7]
00000D56 A9FC syscall ZeroScrap
00000D58 201F move.l D0, [A7]+
00000D5A 4267 clr.w -[A7]
00000D5C 4EBA F33E jsr [PC - 0xCC2 /* 0000009C */]
00000D60 301F move.w D0, [A7]+
00000D62 6018 bra +0x1A /* 00000D7C */
00000D64 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000D68 4EBA 001A jsr [PC + 0x1A /* 00000D84 */]
00000D6C 588F addq.l A7, 4
00000D6E 4A40 tst.w D0
00000D70 670A beq +0xC /* 00000D7C */
00000D72 2F2D FF8E move.l -[A7], [A5 - 0x72]
00000D76 4EBA 02C2 jsr [PC + 0x2C2 /* 0000103A */]
00000D7A 588F addq.l A7, 4
label00000D7C:
00000D7C 7001 moveq.l D0, 0x01
00000D7E 2E1F move.l D7, [A7]+
00000D80 4E5E unlink A6
00000D82 4E75 rts
fn00000D84:
00000D84 4E56 0000 link A6, 0
00000D88 4AAD FEB8 tst.l [A5 - 0x148]
00000D8C 670A beq +0xC /* 00000D98 */
00000D8E 202E 0008 move.l D0, [A6 + 0x8]
00000D92 B0AD FEB8 cmp.l D0, [A5 - 0x148]
00000D96 6704 beq +0x6 /* 00000D9C */
label00000D98:
00000D98 7000 moveq.l D0, 0x00
00000D9A 6002 bra +0x4 /* 00000D9E */
label00000D9C:
00000D9C 7001 moveq.l D0, 0x01
label00000D9E:
00000D9E 4E5E unlink A6
00000DA0 4E75 rts
fn00000DA2:
00000DA2 4E56 FFDE link A6, -0x0022
00000DA6 3F3C 0003 move.w -[A7], 0x3
00000DAA A887 syscall TextFont
00000DAC 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00000DB0 A88A syscall TextSize
00000DB2 206D FEB8 movea.l A0, [A5 - 0x148]
00000DB6 43EE FFE8 lea.l A1, [A6 - 0x18]
00000DBA 41E8 0010 lea.l A0, [A0 + 0x10]
00000DBE 22D8 move.l [A1]+, [A0]+
00000DC0 22D8 move.l [A1]+, [A0]+
00000DC2 302E FFEE move.w D0, [A6 - 0x12]
00000DC6 0640 FFF4 addi.w D0, 0xFFF4
00000DCA 3D40 FFEA move.w [A6 - 0x16], D0
00000DCE 526E FFEE addq.w [A6 - 0x12], 1
00000DD2 302E FFEC move.w D0, [A6 - 0x14]
00000DD6 5240 addq.w D0, 1
00000DD8 3D40 FFEC move.w [A6 - 0x14], D0
00000DDC 536E FFE8 subq.w [A6 - 0x18], 1
00000DE0 42A7 clr.l -[A7]
00000DE2 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000DE6 486E FFE8 pea.l [A6 - 0x18]
00000DEA 486D FFFE pea.l [A5 - 0x2]
00000DEE 1F3C 0001 move.b -[A7], 0x1
00000DF2 4267 clr.w -[A7]
00000DF4 4267 clr.w -[A7]
00000DF6 4267 clr.w -[A7]
00000DF8 3F3C 0010 move.w -[A7], 0x10
00000DFC 42A7 clr.l -[A7]
00000DFE A954 syscall NewControl
00000E00 205F movea.l A0, [A7]+
00000E02 2B48 FEC0 move.l [A5 - 0x140], A0
00000E06 206D FD82 movea.l A0, [A5 - 0x27E]
00000E0A 43EE FFF0 lea.l A1, [A6 - 0x10]
00000E0E 41E8 0010 lea.l A0, [A0 + 0x10]
00000E12 22D8 move.l [A1]+, [A0]+
00000E14 22D8 move.l [A1]+, [A0]+
00000E16 066E FFF4 FFF6 addi.w [A6 - 0xA], 0xFFF4
00000E1C 536E FFF4 subq.w [A6 - 0xC], 1
00000E20 486E FFF0 pea.l [A6 - 0x10]
00000E24 3F3C 0004 move.w -[A7], 0x4
00000E28 3F3C 0004 move.w -[A7], 0x4
00000E2C A8A9 syscall InsetRect
00000E2E 42A7 clr.l -[A7]
00000E30 486E FFF0 pea.l [A6 - 0x10]
00000E34 486E FFF0 pea.l [A6 - 0x10]
00000E38 A9D2 syscall TENew
00000E3A 205F movea.l A0, [A7]+
00000E3C 2B48 FEBC move.l [A5 - 0x144], A0
00000E40 2F2D FD82 move.l -[A7], [A5 - 0x27E]
00000E44 4EBA 0156 jsr [PC + 0x156 /* 00000F9C */]
00000E48 588F addq.l A7, 4
00000E4A 422D FFEC clr.b [A5 - 0x14]
00000E4E 4E5E unlink A6
00000E50 4E75 rts
fn00000E52:
00000E52 4E56 FFFA link A6, -0x0006
00000E56 206D FEBC movea.l A0, [A5 - 0x144]
00000E5A 226D FEBC movea.l A1, [A5 - 0x144]
00000E5E 2251 movea.l A1, [A1]
00000E60 2050 movea.l A0, [A0]
00000E62 3028 0008 move.w D0, [A0 + 0x8]
00000E66 9051 sub.w D0, [A1]
00000E68 3D40 FFFE move.w [A6 - 0x2], D0
00000E6C 4267 clr.w -[A7]
00000E6E 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000E72 A960 syscall GetControlValue/GetCtlValue
00000E74 301F move.w D0, [A7]+
00000E76 206D FEBC movea.l A0, [A5 - 0x144]
00000E7A 2050 movea.l A0, [A0]
00000E7C C1E8 0018 muls.w D0, [A0 + 0x18]
00000E80 3D40 FFFC move.w [A6 - 0x4], D0
00000E84 302E FFFE move.w D0, [A6 - 0x2]
00000E88 906E FFFC sub.w D0, [A6 - 0x4]
00000E8C 3D40 FFFA move.w [A6 - 0x6], D0
00000E90 4A6E FFFA tst.w [A6 - 0x6]
00000E94 670C beq +0xE /* 00000EA2 */
00000E96 4267 clr.w -[A7]
00000E98 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000E9C 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000EA0 A9DD syscall TEScroll
label00000EA2:
00000EA2 4E5E unlink A6
00000EA4 4E75 rts
fn00000EA6:
00000EA6 2F07 move.l -[A7], D7
00000EA8 206D FEBC movea.l A0, [A5 - 0x144]
00000EAC 2050 movea.l A0, [A0]
00000EAE 3028 005E move.w D0, [A0 + 0x5E]
00000EB2 906D FF92 sub.w D0, [A5 - 0x6E]
00000EB6 3E00 move.w D7, D0
00000EB8 206D FEBC movea.l A0, [A5 - 0x144]
00000EBC 2050 movea.l A0, [A0]
00000EBE 4A68 003C tst.w [A0 + 0x3C]
00000EC2 6F20 ble +0x22 /* 00000EE4 */
00000EC4 206D FEBC movea.l A0, [A5 - 0x144]
00000EC8 2050 movea.l A0, [A0]
00000ECA 226D FEBC movea.l A1, [A5 - 0x144]
00000ECE 2251 movea.l A1, [A1]
00000ED0 2068 003E movea.l A0, [A0 + 0x3E]
00000ED4 3269 003C movea.w A1, [A1 + 0x3C]
00000ED8 D3D0 add.l A1, [A0]
00000EDA 0C29 000D FFFF cmpi.b [A1 - 0x1], 0xD /* '\r' */
00000EE0 6602 bne +0x4 /* 00000EE4 */
00000EE2 5247 addq.w D7, 1
label00000EE4:
00000EE4 4A47 tst.w D7
00000EE6 6F06 ble +0x8 /* 00000EEE */
00000EE8 3047 movea.w A0, D7
00000EEA 2008 move.l D0, A0
00000EEC 6002 bra +0x4 /* 00000EF0 */
label00000EEE:
00000EEE 7000 moveq.l D0, 0x00
label00000EF0:
00000EF0 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000EF4 3F00 move.w -[A7], D0
00000EF6 A965 syscall SetControlMaximum/SetMaxCtl
00000EF8 2E1F move.l D7, [A7]+
00000EFA 4E75 rts
fn00000EFC:
00000EFC 48E7 0700 movem.l -[A7], D5,D6,D7
00000F00 4EBA FFA4 jsr [PC - 0x5C /* 00000EA6 */]
00000F04 4EBA FF4C jsr [PC - 0xB4 /* 00000E52 */]
00000F08 4267 clr.w -[A7]
00000F0A 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000F0E A960 syscall GetControlValue/GetCtlValue
00000F10 301F move.w D0, [A7]+
00000F12 3E00 move.w D7, D0
00000F14 3007 move.w D0, D7
00000F16 D06D FF92 add.w D0, [A5 - 0x6E]
00000F1A 3C00 move.w D6, D0
00000F1C 206D FEBC movea.l A0, [A5 - 0x144]
00000F20 226D FEBC movea.l A1, [A5 - 0x144]
00000F24 3007 move.w D0, D7
00000F26 48C0 ext.l D0
00000F28 D080 add.l D0, D0
00000F2A D091 add.l D0, [A1]
00000F2C 2240 movea.l A1, D0
00000F2E 2050 movea.l A0, [A0]
00000F30 3028 0020 move.w D0, [A0 + 0x20]
00000F34 B069 0060 cmp.w D0, [A1 + 0x60]
00000F38 6D1E blt +0x20 /* 00000F58 */
00000F3A 206D FEBC movea.l A0, [A5 - 0x144]
00000F3E 226D FEBC movea.l A1, [A5 - 0x144]
00000F42 3006 move.w D0, D6
00000F44 48C0 ext.l D0
00000F46 D080 add.l D0, D0
00000F48 D091 add.l D0, [A1]
00000F4A 2240 movea.l A1, D0
00000F4C 2050 movea.l A0, [A0]
00000F4E 3028 0020 move.w D0, [A0 + 0x20]
00000F52 B069 0060 cmp.w D0, [A1 + 0x60]
00000F56 6D3E blt +0x40 /* 00000F96 */
label00000F58:
00000F58 7A00 moveq.l D5, 0x00
00000F5A 6002 bra +0x4 /* 00000F5E */
label00000F5C:
00000F5C 5245 addq.w D5, 1
label00000F5E:
00000F5E 206D FEBC movea.l A0, [A5 - 0x144]
00000F62 226D FEBC movea.l A1, [A5 - 0x144]
00000F66 3005 move.w D0, D5
00000F68 48C0 ext.l D0
00000F6A D080 add.l D0, D0
00000F6C D091 add.l D0, [A1]
00000F6E 2240 movea.l A1, D0
00000F70 2050 movea.l A0, [A0]
00000F72 3028 0020 move.w D0, [A0 + 0x20]
00000F76 B069 0060 cmp.w D0, [A1 + 0x60]
00000F7A 6CE0 bge -0x1E /* 00000F5C */
00000F7C 306D FF92 movea.w A0, [A5 - 0x6E]
00000F80 2008 move.l D0, A0
00000F82 81FC 0002 divs.w D0, 0x2
00000F86 3205 move.w D1, D5
00000F88 9240 sub.w D1, D0
00000F8A 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000F8E 3F01 move.w -[A7], D1
00000F90 A963 syscall SetControlValue/SetCtlValue
00000F92 4EBA FEBE jsr [PC - 0x142 /* 00000E52 */]
label00000F96:
00000F96 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00000F9A 4E75 rts
fn00000F9C:
00000F9C 4E56 0000 link A6, 0
00000FA0 2F0A move.l -[A7], A2
00000FA2 206D FEBC movea.l A0, [A5 - 0x144]
00000FA6 226E 0008 movea.l A1, [A6 + 0x8]
00000FAA 2050 movea.l A0, [A0]
00000FAC 5088 addq.l A0, 8
00000FAE 43E9 0010 lea.l A1, [A1 + 0x10]
00000FB2 20D9 move.l [A0]+, [A1]+
00000FB4 20D9 move.l [A0]+, [A1]+
00000FB6 206D FEBC movea.l A0, [A5 - 0x144]
00000FBA 2050 movea.l A0, [A0]
00000FBC 0668 FFF4 000E addi.w [A0 + 0xE], 0xFFF4
00000FC2 206D FEBC movea.l A0, [A5 - 0x144]
00000FC6 2050 movea.l A0, [A0]
00000FC8 4868 0008 pea.l [A0 + 0x8]
00000FCC 3F3C 0004 move.w -[A7], 0x4
00000FD0 3F3C 0004 move.w -[A7], 0x4
00000FD4 A8A9 syscall InsetRect
00000FD6 206D FEBC movea.l A0, [A5 - 0x144]
00000FDA 226D FEBC movea.l A1, [A5 - 0x144]
00000FDE 2251 movea.l A1, [A1]
00000FE0 2050 movea.l A0, [A0]
00000FE2 3028 000C move.w D0, [A0 + 0xC]
00000FE6 9069 0008 sub.w D0, [A1 + 0x8]
00000FEA 206D FEBC movea.l A0, [A5 - 0x144]
00000FEE 2050 movea.l A0, [A0]
00000FF0 48C0 ext.l D0
00000FF2 81E8 0018 divs.w D0, [A0 + 0x18]
00000FF6 3B40 FF92 move.w [A5 - 0x6E], D0
00000FFA 206D FEBC movea.l A0, [A5 - 0x144]
00000FFE 226D FEBC movea.l A1, [A5 - 0x144]
00001002 246D FEBC movea.l A2, [A5 - 0x144]
00001006 2452 movea.l A2, [A2]
00001008 302A 0018 move.w D0, [A2 + 0x18]
0000100C C1ED FF92 muls.w D0, [A5 - 0x6E]
00001010 2251 movea.l A1, [A1]
00001012 D069 0008 add.w D0, [A1 + 0x8]
00001016 2050 movea.l A0, [A0]
00001018 3140 000C move.w [A0 + 0xC], D0
0000101C 206D FEBC movea.l A0, [A5 - 0x144]
00001020 226D FEBC movea.l A1, [A5 - 0x144]
00001024 2251 movea.l A1, [A1]
00001026 2050 movea.l A0, [A0]
00001028 3169 000E 0006 move.w [A0 + 0x6], [A1 + 0xE]
0000102E 2F2D FEBC move.l -[A7], [A5 - 0x144]
00001032 A9D0 syscall TECalText
00001034 245F movea.l A2, [A7]+
00001036 4E5E unlink A6
00001038 4E75 rts
fn0000103A:
0000103A 4E56 FFFC link A6, -0x0004
0000103E 486E FFFC pea.l [A6 - 0x4]
00001042 A874 syscall GetPort
00001044 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001048 A873 syscall SetPort
0000104A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000104E A922 syscall BeginUpdate
00001050 206E 0008 movea.l A0, [A6 + 0x8]
00001054 4868 0010 pea.l [A0 + 0x10]
00001058 A8A3 syscall EraseRect
0000105A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000105E A969 syscall DrawControls
00001060 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001064 A904 syscall DrawGrowIcon
00001066 206E 0008 movea.l A0, [A6 + 0x8]
0000106A 4868 0010 pea.l [A0 + 0x10]
0000106E 2F2D FEBC move.l -[A7], [A5 - 0x144]
00001072 A9D3 syscall TEUpdate
00001074 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001078 A923 syscall EndUpdate
0000107A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000107E A873 syscall SetPort
00001080 4E5E unlink A6
00001082 4E75 rts
export_11:
00001084 4E56 FFFC link A6, -0x0004
00001088 4A6E 0008 tst.w [A6 + 0x8]
0000108C 6700 007A beq +0x7C /* 00001108 */
00001090 206D FEBC movea.l A0, [A5 - 0x144]
00001094 226D FEBC movea.l A1, [A5 - 0x144]
00001098 2251 movea.l A1, [A1]
0000109A 2050 movea.l A0, [A0]
0000109C 3028 000C move.w D0, [A0 + 0xC]
000010A0 9069 0008 sub.w D0, [A1 + 0x8]
000010A4 206D FEBC movea.l A0, [A5 - 0x144]
000010A8 2050 movea.l A0, [A0]
000010AA 48C0 ext.l D0
000010AC 81E8 0018 divs.w D0, [A0 + 0x18]
000010B0 5340 subq.w D0, 1
000010B2 3D40 FFFE move.w [A6 - 0x2], D0
000010B6 302E 0008 move.w D0, [A6 + 0x8]
000010BA 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000010BE 0014 0017 ori.b [A4], 0x17
000010C2 002C 0008 000E ori.b [A4 + 0xE], 0x8
000010C8 0014 001E ori.b [A4], 0x1E
000010CC 70FF moveq.l D0, 0xFFFFFFFF
000010CE 3D40 FFFC move.w [A6 - 0x4], D0
000010D2 601A bra +0x1C /* 000010EE */
000010D4 7001 moveq.l D0, 0x01
000010D6 3D40 FFFC move.w [A6 - 0x4], D0
000010DA 6012 bra +0x14 /* 000010EE */
000010DC 302E FFFE move.w D0, [A6 - 0x2]
000010E0 4440 neg.w D0
000010E2 3D40 FFFC move.w [A6 - 0x4], D0
000010E6 6006 bra +0x8 /* 000010EE */
000010E8 3D6E FFFE FFFC move.w [A6 - 0x4], [A6 - 0x2]
label000010EE:
000010EE 4267 clr.w -[A7]
000010F0 2F2E 000A move.l -[A7], [A6 + 0xA]
000010F4 A960 syscall GetControlValue/GetCtlValue
000010F6 301F move.w D0, [A7]+
000010F8 D06E FFFC add.w D0, [A6 - 0x4]
000010FC 2F2E 000A move.l -[A7], [A6 + 0xA]
00001100 3F00 move.w -[A7], D0
00001102 A963 syscall SetControlValue/SetCtlValue
00001104 4EBA FD4C jsr [PC - 0x2B4 /* 00000E52 */]
label00001108:
00001108 4E5E unlink A6
0000110A 205F movea.l A0, [A7]+
0000110C 4FEF 0006 lea.l A7, [A7 + 0x6]
00001110 4ED0 jmp [A0]
fn00001112:
00001112 4E56 FFF0 link A6, -0x0010
00001116 486E FFF0 pea.l [A6 - 0x10]
0000111A A874 syscall GetPort
0000111C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001120 A873 syscall SetPort
00001122 206E 000C movea.l A0, [A6 + 0xC]
00001126 4868 000A pea.l [A0 + 0xA]
0000112A A871 syscall GlobalToLocal
0000112C 4267 clr.w -[A7]
0000112E 206E 000C movea.l A0, [A6 + 0xC]
00001132 2F28 000A move.l -[A7], [A0 + 0xA]
00001136 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000113A 486E FFF6 pea.l [A6 - 0xA]
0000113E A96C syscall FindControl
00001140 301F move.w D0, [A7]+
00001142 3D40 FFFA move.w [A6 - 0x6], D0
00001146 4A40 tst.w D0
00001148 661C bne +0x1E /* 00001166 */
0000114A 206D FEBC movea.l A0, [A5 - 0x144]
0000114E 4267 clr.w -[A7]
00001150 226E 000C movea.l A1, [A6 + 0xC]
00001154 2F29 000A move.l -[A7], [A1 + 0xA]
00001158 2050 movea.l A0, [A0]
0000115A 4868 0008 pea.l [A0 + 0x8]
0000115E A8AD syscall PtInRect
00001160 101F move.b D0, [A7]+
00001162 4A00 tst.b D0
00001164 6038 bra +0x3A /* 0000119E */
label00001166:
00001166 0C6E 0081 FFFA cmpi.w [A6 - 0x6], 0x81
0000116C 661A bne +0x1C /* 00001188 */
0000116E 4267 clr.w -[A7]
00001170 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00001174 206E 000C movea.l A0, [A6 + 0xC]
00001178 2F28 000A move.l -[A7], [A0 + 0xA]
0000117C 42A7 clr.l -[A7]
0000117E A968 syscall TrackControl
00001180 301F move.w D0, [A7]+
00001182 4EBA FCCE jsr [PC - 0x332 /* 00000E52 */]
00001186 6016 bra +0x18 /* 0000119E */
label00001188:
00001188 4267 clr.w -[A7]
0000118A 2F2E FFF6 move.l -[A7], [A6 - 0xA]
0000118E 206E 000C movea.l A0, [A6 + 0xC]
00001192 2F28 000A move.l -[A7], [A0 + 0xA]
00001196 486D 007A pea.l [A5 + 0x7A /* export_11 */]
0000119A A968 syscall TrackControl
0000119C 301F move.w D0, [A7]+
label0000119E:
0000119E 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000011A2 A873 syscall SetPort
000011A4 4E5E unlink A6
000011A6 4E75 rts